package org.jeecg.modules.icms.match.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 匹配结果表
 * @Author: jeecg-boot
 * @Date:   2024-01-10
 * @Version: V1.0
 */
@Data
@TableName("icms_invoice_customs_match")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="icms_invoice_customs_match对象", description="匹配结果表")
public class IcmsInvoiceCustomsMatch implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**发票行id*/
	@Excel(name = "发票行id", width = 15)
    @ApiModelProperty(value = "发票行id")
    private String invoiceDetailId;
	/**合同号*/
	@Excel(name = "合同号", width = 15)
    @ApiModelProperty(value = "合同号")
    private String contractNo;
	/**报关明细id*/
	@Excel(name = "报关明细id", width = 15)
    @ApiModelProperty(value = "报关明细id")
    private String customsDetailId;
	/**HS编码*/
	@Excel(name = "HS编码", width = 15)
    @ApiModelProperty(value = "HS编码")
    private String hsCode;
	/**出口国家*/
	@Excel(name = "出口国家", width = 15)
    @ApiModelProperty(value = "出口国家")
    private String exportCompany;
	/**零件编码*/
	@Excel(name = "零件编码", width = 15)
    @ApiModelProperty(value = "零件编码")
    private String partNo;
	/**零件名称*/
	@Excel(name = "零件名称", width = 15)
    @ApiModelProperty(value = "零件名称")
    private String partName;
	/**无税单价(元)*/
	@Excel(name = "无税单价(元)", width = 15)
    @ApiModelProperty(value = "无税单价(元)")
    private Double wsdj;
	/**税率(%)*/
	@Excel(name = "税率(%)", width = 15)
    @ApiModelProperty(value = "税率(%)")
    private Double taxRate;
	/**开票单零件数量*/
	@Excel(name = "开票单零件数量", width = 15)
    @ApiModelProperty(value = "开票单零件数量")
    private Double invoiceQty;
	/**报关单零件数量*/
	@Excel(name = "报关单零件数量", width = 15)
    @ApiModelProperty(value = "报关单零件数量")
    private Double customsQty;
	/**是否报关*/
	@Excel(name = "是否报关", width = 15, dicCode = "customs_flag")
	@Dict(dicCode = "customs_flag")
    @ApiModelProperty(value = "是否报关")
    private String customsFlag;
	/**匹配状态*/
	@Excel(name = "匹配状态", width = 15, dicCode = "match_status")
	@Dict(dicCode = "match_status")
    @ApiModelProperty(value = "匹配状态")
    private String matchStatus;
	/**匹配备注*/
	@Excel(name = "匹配备注", width = 15)
    @ApiModelProperty(value = "匹配备注")
    private String matchRemark;
}
